﻿using AutoMapper;
using MyTodoApi.Context;
using Shared.ToDo.Dtos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace MyTodoApi.AutomapperExtend
{
    public class AutomapperProfile : Profile
    {
        public AutomapperProfile()
        {
            CreateMap<ToDo, ToDoDto>().ReverseMap();
            CreateMap<User, UserDto>().ReverseMap();
            CreateMap<Memo, MemoDto>().ReverseMap();
        }
    }
}
